package com.cbb.display.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cbb.display.entity.SysTask;
import org.quartz.SchedulerException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author bigbomb
 * @since 2020-01-18
 */
public interface SysTaskService extends IService<SysTask> {
	public SysTask get(Long id);
	public int update(SysTask taskScheduleJob);
	public int remove(Long id);
	public int addJob(SysTask scheduleJob);
	public int batchRemove(Long[] ids);
	public void initSchedule();
	public int changeStatus(Long jobId, String cmd);
	public int updateCron(Long jobId,String cronString) throws SchedulerException;
	
}
